

env = Environment()

includePaths = [
'-I/usr/boost_1_49_0', 
'-I../simple-rpc', 
'-I../services',
]


libpaths = ['/usr/boost_1_49_0/stage/lib']

libs = ['libboost_system-gcc43-mt-1_49.a', 'libboost_serialization-gcc43-mt-1_49.a', 'pthread'],


sources = Glob('*.cpp')
sources.append('../simple-rpc/logger.cpp')
sources.append('../simple-rpc/protocol.cpp')
sources.append('../services/test_service.cpp')

env.Program(
	'wayixia-server', 
	source=sources,
        LINKFLAGS=['-static'],
	LIBS=libs, 
	LIBPATH=libpaths, 
	CCFLAGS=includePaths)
